package foo;

import org.springframework.stereotype.Repository;

import java.util.concurrent.TimeUnit;

@Repository
public class DemoDaoImpl {

    public void run() {
        System.out.println("run...");
    }

    public void run1() {
        System.out.println("run1...");
    }

    public void run2() {
		try {
			TimeUnit.SECONDS.sleep(1);
		} catch (InterruptedException e) {
			throw new RuntimeException(e);
		}
		System.out.println("run2...");
    }

}
